package com.yiren.backstage.currency.constant;

import com.yiren.backstage.currency.utils.FileUtil;

/**
 * @author lwb
 * @date : 2022/3/3 15:39
 * @description: 数据库地址
 */
public class DbConstant {

    /*** 程序主目录--正常情况*/
    public static String App_Main_Directory = FileUtil.fetchAvailableSdcardFoloder() + "/yirenv3/dbaf/";

    public static String GRADE_DATA_URL = "";   //规则数据连接地址
    public static String TRAJECT_DATA_URL = ""; //考场轨迹数据库地址
    public static String USER_DATA_URL = "";    //用户数据库连接地址
    public static String CACHE_DATA_URL = FileUtil.fetchAvailableSdcardFoloder() + "/cs";

    //项目规则db名称
    public static final String GRADE_DATA_NAME = "grade.db";
    public static final String TRAJECT_DATA_NAME = "traject.db";
    public static final String USER_DATA_NAME = "user.db";
    public static final String CACHE_DATA_NAME = "cache.db";
}
